package com.industrial.app.domain;

import com.industrial.common.core.annotation.Excel;
import com.industrial.common.core.web.domain.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 工业用电量临时(新)对象 biz_industrial_electricity_consumption
 *
 * @author SangGuangCan
 * @date 2024-01-22
 */
public class BizIndustrialElectricityConsumption extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String baseId;

    /** 本月用电量 */
    @Excel(name = "本月用电量")
    private String electricityConsumptionMonth;

    /** 本月同比 */
    @Excel(name = "本月同比")
    private String yoyMonth;

    /** 本年同比 */
    @Excel(name = "本年同比")
    private String yoyYear;

    /** 本年 */
    @Excel(name = "本年")
    private String electricityConsumptionYear;

    /** 创建时间 */
    private Date baseCreateTime;

    /** 创建人 */
    private String baseCreateBy;

    /** 更新时间 */
    private Date baseUpdateTime;

    /** 更新人 */
    private String baseUpdateBy;

    /** 年份 */
    @JsonFormat(pattern = "yyyy-MM")
    @Excel(name = "年份", width = 30, dateFormat = "yyyy-MM-dd")
    private Date year;

    public void setBaseId(String baseId)
    {
        this.baseId = baseId;
    }

    public String getBaseId()
    {
        return baseId;
    }
    public void setElectricityConsumptionMonth(String electricityConsumptionMonth)
    {
        this.electricityConsumptionMonth = electricityConsumptionMonth;
    }

    public String getElectricityConsumptionMonth()
    {
        return electricityConsumptionMonth;
    }
    public void setYoyMonth(String yoyMonth)
    {
        this.yoyMonth = yoyMonth;
    }

    public String getYoyMonth()
    {
        return yoyMonth;
    }
    public void setYoyYear(String yoyYear)
    {
        this.yoyYear = yoyYear;
    }

    public String getYoyYear()
    {
        return yoyYear;
    }
    public void setElectricityConsumptionYear(String electricityConsumptionYear)
    {
        this.electricityConsumptionYear = electricityConsumptionYear;
    }

    public String getElectricityConsumptionYear()
    {
        return electricityConsumptionYear;
    }
    public void setBaseCreateTime(Date baseCreateTime)
    {
        this.baseCreateTime = baseCreateTime;
    }

    public Date getBaseCreateTime()
    {
        return baseCreateTime;
    }
    public void setBaseCreateBy(String baseCreateBy)
    {
        this.baseCreateBy = baseCreateBy;
    }

    public String getBaseCreateBy()
    {
        return baseCreateBy;
    }
    public void setBaseUpdateTime(Date baseUpdateTime)
    {
        this.baseUpdateTime = baseUpdateTime;
    }

    public Date getBaseUpdateTime()
    {
        return baseUpdateTime;
    }
    public void setBaseUpdateBy(String baseUpdateBy)
    {
        this.baseUpdateBy = baseUpdateBy;
    }

    public String getBaseUpdateBy()
    {
        return baseUpdateBy;
    }
    public void setYear(Date year)
    {
        this.year = year;
    }

    public Date getYear()
    {
        return year;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("baseId", getBaseId())
                .append("electricityConsumptionMonth", getElectricityConsumptionMonth())
                .append("yoyMonth", getYoyMonth())
                .append("yoyYear", getYoyYear())
                .append("electricityConsumptionYear", getElectricityConsumptionYear())
                .append("baseCreateTime", getBaseCreateTime())
                .append("baseCreateBy", getBaseCreateBy())
                .append("baseUpdateTime", getBaseUpdateTime())
                .append("baseUpdateBy", getBaseUpdateBy())
                .append("year", getYear())
                .toString();
    }
}
